<template>
  <div class="footer">
    <div class="navList">
      <!-- <span class="item">首页</span>
      <span class="item">首页</span>
      <span class="item">首页</span>
      <span class="item">首页</span>
      <span class="item">首页</span> -->
<span class="item" v-for="i in navList" :key="i">
{{i.label}}
</span>
      
      <!-- <div class="item">首页</div>
    <div class="item">影视综艺</div>
    <div class="item">获奖记录</div>
    <div class="item">相册</div>
    <div class="item">留言</div> -->
    </div>

    <div class="msg">联系我： 邮箱 hy520499@163.com | QQ 2951094826</div>
  </div>
</template>

<script>
export default {
  name: "footerContent",
  components: {},
  data() {
    return {
      navList: [
        {
          label: '首页',
          path: '/home'
        },
        {
          label: '影视综艺',
          path: '/movie'
        },
        {
          label: '获奖记录',
          path: '/award'
        },
        {
          label: '相册',
          path: '/album'
        },
        {
          label: '留言',
          path: '/message'
        },
      ]
    };
  },
  methods: {},
};
</script>

<style lang="scss" scoped>
.footer {
  height: 100px;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  
  .navList {
    height: 60px; /* 明确设置高度 */
    line-height: 80px;
    
    .item {
      padding: 0 30px;
    }
  }

  .msg {
    height: 40px; 
    line-height: 30px; 
    text-align: center;
    font-size: 12px;
  //  color: #ccc;
  }
}
</style>
